﻿using System.Windows;
using System.Windows.Controls;

namespace Fitness_tracker.UserControls
{
    /// <summary>
    /// TextInfo.xaml 的交互逻辑
    /// </summary>
    public partial class TextInfo : UserControl
    {
        public TextInfo()
        {
            InitializeComponent();
        }
        public string TextTop
        {
            get { return (string)GetValue(TextTopPorperty); }
            set { SetValue(TextTopPorperty, value); }
        }
        public static readonly DependencyProperty TextTopPorperty = DependencyProperty.Register("TextTop", typeof(string), typeof(TextInfo));
        public string TextMiddle
        {
            get { return (string)GetValue(TextMiddlePorperty); }
            set { SetValue(TextMiddlePorperty, value); }
        }
        public static readonly DependencyProperty TextMiddlePorperty = DependencyProperty.Register("TextMiddle", typeof(string), typeof(TextInfo));
        public string TextBottom
        {
            get { return (string)GetValue(TextBottomPorperty); }
            set { SetValue(TextBottomPorperty, value); }
        }
        public static readonly DependencyProperty TextBottomPorperty = DependencyProperty.Register("TextBottom", typeof(string), typeof(TextInfo));
        public bool IsActive
        {
            get { return (bool)GetValue(IsActivePorperty); }
            set { SetValue(IsActivePorperty, value); }
        }
        public static readonly DependencyProperty IsActivePorperty = DependencyProperty.Register("IsActive", typeof(bool), typeof(TextInfo));
    }
}
